/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.myorg.shr.gui.swg.display.labelized;

import javax.swing.GroupLayout;

/**
 *
 * @author Hatsites
 *
 * email: Hatsites_AT_gmail.com
 * ... please remove "_AT_" from the above string to get the right email address
 */

public class LbzDateChooserVrt extends LbzDateChooserAbs{

    public LbzDateChooserVrt(String strText, int length){
        super(strText, length);
    }


   public boolean init() {

        GroupLayout layout = new GroupLayout(this);
        this.setLayout(layout);
        this.setLayout(layout);

        layout.setHorizontalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addComponent(this._lblChamp_)
                .addComponent(this._dateChooser_, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
        );

        layout.setVerticalGroup(
            layout.createSequentialGroup()
                .addComponent(this._lblChamp_)
                .addComponent(this._dateChooser_, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
        );
        return true;
    }

    public void destroy() {
    }
}
